/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.ucase.casemain.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 描述: 案件详情表（宽表）-TRJ case_main_detail_info 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @LocalDateTime 2022年02月16日
 */
@Data
@Table(name = "upcase.case_main_detail_info")
public class CaseMainDetailInfo implements Serializable {
    /**
     * 主键
     */
    @Column(name = "id")
    private String id;

    /**
     * 案件id
     */
    @Id
    @Column(name = "case_id")
    private String caseId;

    /**
     * 文书标题前缀
     */
    @Column(name = "doc_title_prefix")
    private String docTitlePrefix;

    /**
     * 案件来源id
     */
    @Column(name = "case_source_id")
    private String caseSourceId;

    /**
     * 发现时间
     */
    @Column(name = "case_happen_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime caseHappenTime;

    /**
     * 案发地省市区（区域编码）
     */
    @Column(name = "case_happen_address_area_code")
    private String caseHappenAddressAreaCode;

    /**
     * 案发地详细地址(完整地址)
     */
    @Column(name = "case_happen_address_detail")
    private String caseHappenAddressDetail;

    /**
     * 立案时间
     */
    @Column(name = "case_register_time")
    private String caseRegisterTime;

    /**
     * 案件名称
     */
    @Column(name = "case_name")
    private String caseName;

    /**
     * 案由
     */
    @Column(name = "case_reason")
    private String caseReason;

    /**
     * 文书案由
     */
    @Column(name = "doc_case_reason")
    private String docCaseReason;

    /**
     * 案件简要情况
     */
    @Column(name = "case_concise_condition")
    private String caseConciseCondition;

    /**
     * 立案审批承办人意见
     */
    @Column(name = "case_approval_undertaker_opinion")
    private String caseApprovalUndertakerOpinion;

    /**
     * 接受询问时间
     */
    @Column(name = "accept_inquire_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime acceptInquireTime;

    /**
     * 接受询问地点
     */
    @Column(name = "accept_inquire_address")
    private String acceptInquireAddress;

    /**
     * 接受询问携带资料
     */
    @Column(name = "accept_inquire_carry_material")
    private String acceptInquireCarryMaterial;

    /**
     * 询问通知书生成日期
     */
    @Column(name = "inquire_doc_generate_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime inquireDocGenerateTime;

    /**
     * 处罚种类（多种以;分隔）
     */
    @Column(name = "punish_kinds")
    private String punishKinds;

    /**
     * 裁量区间
     */
    @Column(name = "discretion_interval")
    private String discretionInterval;

    /**
     * 拟处罚金额
     */
    @Column(name = "draft_punish_money")
    private String draftPunishMoney;

    /**
     * 是否重大案件(0-否/1-是)
     */
    @Column(name = "is_important_case")
    private String isImportantCase;

    /**
     * 是否集体议案(0-否/1-是)
     */
    @Column(name = "is_need_collective_discuss")
    private String isNeedCollectiveDiscuss;

    /**
     * 调查起始日期
     */
    @Column(name = "investigation_start_date")
    private String investigationStartDate;

    /**
     * 调查结束日期
     */
    @Column(name = "investigation_end_date")
    private String investigationEndDate;

    /**
     * 案发经过
     */
    @Column(name = "case_happen_process")
    private String caseHappenProcess;

    /**
     * 当事人基本情况
     */
    @Column(name = "party_basic_info")
    private String partyBasicInfo;

    /**
     * 违法事实
     */
    @Column(name = "illegal_fact")
    private String illegalFact;

    /**
     * 相关证据
     */
    @Column(name = "relate_evidence")
    private String relateEvidence;

    /**
     * 当事人意见
     */
    @Column(name = "party_opinion")
    private String partyOpinion;

    /**
     * 处罚意见
     */
    @Column(name = "punish_opinion")
    private String punishOpinion;

    /**
     * 调查报告生成日期
     */
    @Column(name = "investigation_report_generate_date")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate investigationReportGenerateDate;

    /**
     * 行政处罚告知审批承办人意见
     */
    @Column(name = "punish_inform_approval_undertaker_opinion")
    private String punishInformApprovalUndertakerOpinion;

    /**
     * 行政处罚决定审批承办人意见
     */
    @Column(name = "punish_decide_approval_undertaker_opinion")
    private String punishDecideApprovalUndertakerOpinion;

    /**
     * 鉴于
     */
    @Column(name = "considering_info")
    private String consideringInfo;

    /**
     * 依据法律名称
     */
    @Column(name = "according_law")
    private String accordingLaw;

    /**
     * 行政处罚事先告知期限
     */
    @Column(name = "punish_before_inform_period")
    private Integer punishBeforeInformPeriod;

    /**
     * 行政处罚（听证类）告知期限
     */
    @Column(name = "punish_inform_period")
    private Integer punishInformPeriod;

    /**
     * 行政处罚事先告知日期
     */
    @Column(name = "punish_before_inform_date")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate punishBeforeInformDate;

    /**
     * 行政处罚（听证类）告知日期
     */
    @Column(name = "punish_inform_date")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate punishInformDate;

    /**
     * 要求陈述、申辩意见
     */
    @Column(name = "demand_statement_plead_opinion")
    private String demandStatementPleadOpinion;

    /**
     * 听证内容
     */
    @Column(name = "demand_hearing_opinion")
    private String demandHearingOpinion;

    /**
     * 履行告知及当事人陈述申辩或者听证简况
     */
    @Column(name = "fulfill_inform_and_party_opinion")
    private String fulfillInformAndpartyOpinion;

    /**
     * 执行完成日期
     */
    @Column(name = "execute_finish_date")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate executeFinishDate;

    /**
     * 执行方式
     */
    @Column(name = "execute_way")
    private String executeWay;

    /**
     * 执行情况描述
     */
    @Column(name = "execute_condition_desc")
    private String executeConditionDesc;

    /**
     * 结案日期
     */
    @Column(name = "case_finish_date")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate caseFinishDate;

    /**
     * 结案情况说明
     */
    @Column(name = "case_finish_condition_illustrate")
    private String caseFinishConditionIllustrate;

    /**
     * 案件结案报告-备注
     */
    @Column(name = "case_finish_report_remark")
    private String caseFinishReportRemark;

    /**
     * 其他执法程序描述
     */
    @Column(name = "other_enforcing_procedure_desc")
    private String otherEnforcingProcedureDesc;

    /**
     * 当事人陈述、申辩、申请听证、采信与否等叙述
     */
    @Column(name = "party_opinion_narrate")
    private String partyOpinionNarrate;

    /**
     * 鉴于(处罚决定-自由裁量)
     */
    @Column(name = "considering_info_discretion")
    private String consideringInfoDiscretion;

    /**
     * 责令当事人执行事项描述
     */
    @Column(name = "ordered_party_to_do")
    private String orderedpartyToDo;

    /**
     * 缴纳罚款地
     */
    @Column(name = "pay_penalty_address")
    private String payPenaltyAddress;

    /**
     * 收款账号
     */
    @Column(name = "incoming_account")
    private String incomingAccount;

    /**
     * 申请复议部门名称
     */
    @Column(name = "request_reexamination_dept_name")
    private String requestReexaminationDeptName;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * 最新更新时间
     */
    @Column(name = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updateTime;

    /**
     * 移送单位统一社会信用代码
     **/
    @Column(name = "transfer_unit_uniscid")
    private String transferUnitUniscid;

    /**
     * 移送单位
     */
    @Column(name = "transfer_unit")
    private String transferUnit;
    /**
     * 移送人姓名
     */
    @Column(name = "transfer_person")
    private String transferPerson;
    /**
     * 移送人联系电话
     */
    @Column(name = "transfer_phone")
    private String transferPhone;
    /**
     * 起诉法院名称
     */
    @Column(name = "indict_court_name")
    private String indictCourtName;
    /**
     * 违法情形
     */
    @Column(name = "illegal_situation")
    private String illegalSituation;
    /**
     * 没收违法所得
     */
    @Column(name = "confiscate_illegal_money")
    private String confiscateIllegalMoney;
    /**
     * 违法级别（1-轻微，2-一般，3-较重，4-严重，5-非常严重）
     */
    @Column(name = "illegal_level")
    private String illegalLevel;
    /**
     * 处罚内容
     */
    @Column(name = "punish_content")
    private String punishContent;
    /**
     * 办案单位地址
     */
    @Column(name = "case_org_address")
    private String caseOrgAddress;
    /**
     * 是否可听证；1：是 2：否
     */
    @Column(name = "is_hearing")
    private String isHearing;
    /**
     * 处罚依据
     */
    @Column(name = "punish_basis")
    private String punishBasis;

    /**
     * 缴款单号
     */
    @Column(name = "payment_slip_number")
    private String paymentSlipNumber;

    /**
     * 案发地详细地址（全）
     */
    @Column(name = "case_happen_address_detail_full")
    private String caseHappenAddressDetailFull;

    /**
     * 没收违法财物
     */
    @Column(name = "confiscate_illegal_property")
    private String confiscateIllegalProperty;

    /**
     * 没收违法财物价值
     */
    @Column(name = "confiscate_illegal_property_value")
    private String confiscateIllegalPropertyValue;

    /**
     * 调查结论;1:予以处罚,2:不予处罚
     */
    @Column(name = "invest_conclusion")
    private String investConclusion;

    /**
     * 不予处罚原因
     */
    @Column(name = "not_give_punish_reason")
    private String notGivePunishReason;

    /**
     * 不予处罚详情描述
     */
    @Column(name = "not_give_punish_detail")
    private String notGivePunishDetail;


    /**
     * 非诉审核类型id adr(alternative dispute resolution)
     */
    @Column(name = "adr_approval_type_id")
    private String adrApprovalTypeId;

    /**
     * 案件涉及id
     */
    @Column(name = "case_involve_id")
    private String caseInvolveId;

    /**
     * 管辖依据id
     */
    @Column(name = "jurisdiction_basis_id")
    private String jurisdictionBasisId;


    /**
     * 非诉审核类型名称 adr(alternative dispute resolution)
     */
    @Column(name = "adr_approval_type_name")
    private String adrApprovalTypeName;

    /**
     * 案件涉及名称
     */
    @Column(name = "case_involve_name")
    private String caseInvolveName;

    /**
     * 管辖依据名称
     */
    @Column(name = "jurisdiction_basis_name")
    private String jurisdictionBasisName;

    /**
     * 是否予以公示：0.不公示，1.公示
     */
    @Column(name = "is_publicity")
    private String isPublicity;
    /**
     * 公示内容
     */
    @Column(name = "publicity_content")
    private String publicityContent;
    /**
     * 不公示原因
     */
    @Column(name = "no_publicity_reason")
    private String noPublicityReason;
    /**
     * 不公示备注说明
     */
    @Column(name = "no_publicity_remark")
    private String noPublicityRemark;
    /**
     * 调整处罚原因
     */
    @Column(name = "punish_change_reason")
    private String punishChangeReason;

    /**
     * 处罚决定书文号
     */
    @Column(name = "punish_document_number")
    private String punishDocumentNumber;

    /**
     * 是否陈述申辩 1是0否
     */
    @Column(name = "is_present_defend")
    private String isPresentDefend;
    /**
     * 陈述申辩内容
     */
    @Column(name = "present_defend_content")
    private String presentDefendContent;

    /**
     * 案发时间
     */
    @Column(name = "case_proceed_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime caseProceedTime;

    /**
     * 结论；1:继续办案 2:案件终止 3:案件撤销
     */
    @Column(name = "discuss_conclusion")
    private String discussConclusion;
    /**
     * 处理结论；0 行政处罚,1 涉刑移送 2 行政处理
     */
    @Column(name = "handle_conclusion")
    private String handleConclusion;

    /**
     * 刑事案由
     */
    @Column(name = "criminal_case_reason")
    private String criminalCaseReason;

    /**
     * 刑事案由名称
     */
    @Column(name = "criminal_case_reason_name")
    private String criminalCaseReasonName;

    /**
     * 涉刑移送单位code
     */
    @Column(name = "criminal_case_transfer_dept_code")
    private String criminalCaseTransferDeptCode;

    /**
     * 涉刑移送单位名称
     */
    @Column(name = "criminal_case_transfer_dept_name")
    private String criminalCaseTransferDeptName;

    /**
     * 其他内容（处罚种类选其他时必填）
     */
    @Column(name = "other_content")
    private String otherContent;

    /**
     * 应急案由内容(json格式)
     */
    @Column(name = "case_emergency_reason_content")
    private String caseEmergencyReasonContent;

    /**
     * 接受询问地址(人设条线)
     */
    @Column(name = "accept_inquire_address_person")
    private String acceptInquireAddressPerson;

    /**
     * 接受询问情况(人设条线)
     */
    @Column(name = "accept_inquire_situation")
    private String acceptInquireSituation;

    /**
     * 人设案由id多个用逗号隔开
     */
    @Column(name = "person_reason_id")
    private String personReasonId;

    /**
     * 人设案由id多个用逗号隔开
     */
    @Column(name = "person_reason_name")
    private String personReasonName;
    /**
     * 案件来源补充来源id
     */
    @Column(name = "case_source_replenish_id")
    private String caseSourceReplenishId;
    /**
     * 案件来源补充来源描述
     */
    @Column(name = "case_source_replenish_desc")
    private String caseSourceReplenishDesc;
    /**
     * 案件调查日期
     */
    @Column(name = "case_investigate_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime caseInvestigateTime;

    /**
     * 是否重大执法决定(0-否/1-是)
     */
    @Column(name = "is_important_law_decision")
    private String isImportantLawDecision;
    /**
     * 自然资源调查报告-案件定性
     */
    @Column(name = "case_character")
    private String caseCharacter;
    /**
     * 自然资源调查报告-当事人情况
     */
    @Column(name = "case_party_condition")
    private String casePartyCondition;
    /**
     * 自然资源调查报告-其他需要说明的问题
     */
    @Column(name = "case_other_issue")
    private String caseOtherIssue;
    /**
     * 调查结论（生态环境）
     */
    @Column(name = "case_invest_conclusion")
    private String caseInvestConclusion;
    /**
     * 人社案由JSON字符串（包括案由，涉及人数，涉及金额）
     */
    @Column(name = "person_reason_detail")
    private String personReasonDetail;
    /**
     * 加处罚款金额
     */
    @Column(name = "add_punish_money")
    private String addPunishMoney;
    /**
     * 是否工商专项(0-否/1-是)
     */
    @Column(name = "is_industrial_trade_special")
    private String isIndustrialTradeSpecial;
    /**
     * 简案快办案件状态 1调查取证 2违法告知
     */
    @Column(name = "simple_case_stage")
    private String simpleCaseStage;
    /**
     * 简案快办表单状态
     */
    @Column(name = "simple_form_type")
    private String simpleFormType;
    /**
     * 速结补充联系电话
     */
    @Column(name = "fast_telephone")
    private String fastTelephone;
    /**
     * 速结补充联系地址
     */
    @Column(name = "fast_contact_address")
    private String fastContactAddress;
    /**
     * 速结程序陈述申辩期
     */
    @Column(name = "statement_plead_term")
    private String statementPleadTerm;
    /**
     * （人社条线）是否涉及农民工；1 是 0否
     */
    @Column(name = "is_relate_farmer")
    private String isRelateFarmer;
    /**
     * （人社条线）工程项目类型-数据字典（RS_PROJECT_TYPE）
     */
    @Column(name = "project_type")
    private String projectType;
    private static final long serialVersionUID = 1L;
}
